package com.rrx.service;

import com.rrx.mapper.UserMapper_fy;
import com.rrx.model.Users;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class UserService_fy {
    @Autowired
    UserMapper_fy userMapper_fy;
    /**
     * 查询
     */
    public ArrayList<Users> seeUsers(String openid){
     ArrayList usersliset =  userMapper_fy.seeALL(openid);
        return usersliset;
    }
    /**
     * 修改
     */

    public Integer alterUsers(String phone){
      Integer alterone = userMapper_fy.reviseusers(phone);
        return alterone;
    }
}


